package bam.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Vipmember entity. @author MyEclipse Persistence Tools
 */

public class Vipmember implements java.io.Serializable {

	// Fields

	private Integer id;
	private Users users;
	private Integer nameCode;
	private String fees;
	private Integer pledge;
	private Integer speed;
	private Date setTime;
	private Integer wayId;
	private Integer areaid;
	private Set userinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Vipmember() {
	}

	/** minimal constructor */
	public Vipmember(Users users, Integer nameCode) {
		this.users = users;
		this.nameCode = nameCode;
	}

	/** full constructor */
	public Vipmember(Users users, Integer nameCode, String fees,
			Integer pledge, Integer speed, Date setTime, Integer wayId,
			Integer areaid, Set userinfos) {
		this.users = users;
		this.nameCode = nameCode;
		this.fees = fees;
		this.pledge = pledge;
		this.speed = speed;
		this.setTime = setTime;
		this.wayId = wayId;
		this.areaid = areaid;
		this.userinfos = userinfos;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public Integer getNameCode() {
		return this.nameCode;
	}

	public void setNameCode(Integer nameCode) {
		this.nameCode = nameCode;
	}

	public String getFees() {
		return this.fees;
	}

	public void setFees(String fees) {
		this.fees = fees;
	}

	public Integer getPledge() {
		return this.pledge;
	}

	public void setPledge(Integer pledge) {
		this.pledge = pledge;
	}

	public Integer getSpeed() {
		return this.speed;
	}

	public void setSpeed(Integer speed) {
		this.speed = speed;
	}

	public Date getSetTime() {
		return this.setTime;
	}

	public void setSetTime(Date setTime) {
		this.setTime = setTime;
	}

	public Integer getWayId() {
		return this.wayId;
	}

	public void setWayId(Integer wayId) {
		this.wayId = wayId;
	}

	public Integer getAreaid() {
		return this.areaid;
	}

	public void setAreaid(Integer areaid) {
		this.areaid = areaid;
	}

	public Set getUserinfos() {
		return this.userinfos;
	}

	public void setUserinfos(Set userinfos) {
		this.userinfos = userinfos;
	}

}